adTempus API
PreviousUpNext
ICredentialProfile::VerifyPassword Method

Verifies the password for the profile.

C++
HRESULT VerifyPassword(BSTR passwordToTest, VARIANT_BOOL addPermission, [out,retval] VARIANT_BOOL * result);
C#
VerifyPassword(String passwordToTest, VARIANT_BOOL addPermission, [out,retval] VARIANT_BOOL result);
Visual Basic
Sub VerifyPassword(passwordToTest As String, addPermission As VARIANT_BOOL, result As [out,retval] VARIANT_BOOL)

VerifyPassword returns True of the specified passwordToTest matches the password stored in the profile or False if it does not. If addPermission is True and the specified password matches, the caller is granted saAssociate permission for the profile and can then use it in the future without needing to enter the password.

adTempus API Reference version 3.0.0.0, revised 10/30/2008